<template>
  <div class="hello">
    <h2>第一题：请去重下方数据</h2>
    <ul>
      <li v-for="item in arr"> {{item.id}} : {{item.value}}</li>
    </ul>
    <hr/>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  },
    data () {
      return {
          arr: [
              {id: 1, value: 'value1'},
              {id: 2, value: 'value2'},
              {id: 1, value: 'value1'}
          ]
      }
    },
}
</script>